package org.example.service;

import org.example.model.Token;

import java.util.Optional;

public interface UserService {

    Optional<Token> findByEmail(Token token);
    Optional<Token> findByToken(Token token);
    Token addToken(Token token);
}
